.container {
  padding: 15px;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  background: var(--background-color, linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%));
}

/* 容器伪元素渐变背景 */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.05) 0%, rgba(219, 39, 119, 0.05) 100%);
  z-index: 0;
}

/* 浮动形状装饰样式 */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  z-index: 0;
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, rgba(67, 56, 202, 0.3), rgba(79, 70, 229, 0.2));
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, rgba(219, 39, 119, 0.3), rgba(236, 72, 153, 0.2));
  bottom: -100px;
  left: -50px;
  animation-delay: 2s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.2));
  top: 50%;
  left: 30%;
  animation-delay: 4s;
}

/* 返回首页按钮样式 */
.home-button {
  background: linear-gradient(45deg, #4f46e5, #7c3aed);
  border: none;
  color: white;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out;
}

.home-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
  background: linear-gradient(45deg, #5b21b6, #8b5cf6);
}

/* 添加按钮样式 */
.add-button {
  background: linear-gradient(45deg, #10b981, #059669);
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.add-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  background: linear-gradient(45deg, #059669, #047857);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: var(--card-background, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.5s ease-out;
}

.panel-title {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
}

.panel-title .el-icon {
  margin-right: 10px;
  font-size: 24px;
  color: #4f46e5;
}

.user-card {
  margin-bottom: 20px;
  background: var(--card-background, rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.7s ease-out;
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: center;
  max-width: 800px;
  gap: 8px;
}

.pagination {
  display: flex;
  margin: 20px 0;
  justify-content: center;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* 表格样式优化 */
.el-table {
  border-radius: 8px;
  overflow: hidden;
}

.el-table th {
  background-color: rgba(249, 250, 251, 0.8) !important;
  color: #4b5563;
  font-weight: 600;
}

.el-table td {
  color: #4b5563;
}

.el-table .el-button {
  margin-right: 8px;
  transition: all 0.2s ease;
}

.el-table .el-button:hover {
  transform: translateY(-2px);
}

/* 对话框样式优化 */
.el-dialog {
  border-radius: 12px;
  overflow: hidden;
}

.el-dialog__header {
  background: linear-gradient(45deg, #4f46e5, #7c3aed);
  color: white;
  padding: 20px;
}

.el-dialog__title {
  color: white;
  font-weight: 600;
}

.el-dialog__headerbtn .el-dialog__close {
  color: white;
}

/* 动画效果 */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 按钮交互效果 */
.el-button {
  transition: all 0.3s ease;
}

.el-button:hover {
  transform: translateY(-2px);
}

.el-tag {
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
